package cn.dai.Reflection.demo;

import java.io.Serializable;

/**
 * @author ArkD42
 * @file 1 - Java基础语法
 * @create 2020 - 04 - 23 - 9:45
 */
public class Creature<T> implements Serializable {

    private boolean gender;
    public double weight;

    private void breath(){
        System.out.println("生物在呼吸");
    }

    public void eat(){
        System.out.println("生物吃食");
    }
}


